package com.hou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hou.vo.TaomiGoods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaomiGoodsMapper extends BaseMapper<TaomiGoods>{
    //增加
    Integer add(TaomiGoods taomiGoods);
    //删除
    Integer delete(Long id);
    //改
    Integer update(TaomiGoods taomiGoods);
    //查
    List<TaomiGoods> select(String name);

    TaomiGoods selectid(Long id);

    List<TaomiGoods> selectLists();


}
